package com.ruoyi.web.wuliu.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆发布对象 car_source
 * 
 * @author ruoyi
 * @date 2023-12-05
 */
@ApiModel("车辆发布信息")
public class CarSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 起点 */
    @ApiModelProperty( "起点")
    private String startingPoint;

    /** 终点 */
    @ApiModelProperty( "终点")
    private String endPoint;

    /** 联系人 */
    @ApiModelProperty( "联系人")
    private String contactPerson;

    /** 电话 */
    @ApiModelProperty( "电话")
    private String telephone;

    /** 车辆类型 */
    @ApiModelProperty( "车辆类型")
    private String carType;

    /** 图片 */
    @ApiModelProperty( "图片")
    private String picture;

    /** 0审核中1审核通过2审核不通过 */
    @ApiModelProperty( "0审核中1审核通过2审核不通过")
    private Long status;

    private String userId;
    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setStartingPoint(String startingPoint) 
    {
        this.startingPoint = startingPoint;
    }

    public String getStartingPoint() 
    {
        return startingPoint;
    }
    public void setEndPoint(String endPoint) 
    {
        this.endPoint = endPoint;
    }

    public String getEndPoint() 
    {
        return endPoint;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startingPoint", getStartingPoint())
            .append("endPoint", getEndPoint())
            .append("contactPerson", getContactPerson())
            .append("telephone", getTelephone())
            .append("carType", getCarType())
            .append("remark", getRemark())
            .append("picture", getPicture())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
